ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Pretty YAML

by aukaost ALL Trending

Sublime Text 2/3 plugin that allows to format a YAML file

Details

  • 0.2.0
  • github.​com
  • 5 years ago
  • 52 minutes ago
  • 11 years ago

Installs

  • Total 81K
  • Win 25K
  • Mac 38K
  • Linux 17K
Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23
Windows 0 7 3 6 0 5 4 2 3 5 3 5 6 2 3 5 2 7 6 3 3 3 4 3 7 4 3 0 2 5 6 6 3 1 8 3 5 5 3 5 5 3 3 2 5 6
Mac 0 8 7 4 3 2 4 2 7 11 7 2 4 3 7 6 7 4 6 4 4 1 9 5 9 7 12 3 2 10 12 8 7 7 4 2 6 5 8 9 4 0 3 5 6 7
Linux 0 1 2 2 0 0 0 0 1 3 6 0 3 1 0 2 3 3 1 1 2 1 2 0 0 2 5 0 0 0 0 2 1 1 0 0 2 2 1 2 3 0 2 3 4 2

Readme

Source
raw.​githubusercontent.​com

Pretty YAML

Prettify YAML plugin for Sublime Text 2 & 3 (Based on Pretty JSON)

Installation

Install this sublime text package via Package Control

Usage To prettify YAML, make selection of YAML and press keys:

  • Linux: ctrl+alt+y

  • Windows: ctrl+alt+y

  • OS X: cmd+ctrl+y

If selection is empty and configuration entry use_entire_file_if_no_selection is true, tries to prettify whole file.

If YAML is not valid it will be displayed in status bar of sublime.

Default configuration

This plugin uses PyYAML to process YAML files. You can specify the arguments for the Dumper in the plugin's preferences.

Thanks

License

  • View LICENSE files in plugin root and yaml/ subfolders (both MIT)